package com.itheima.reggie.service;

import com.itheima.reggie.domain.User;
import org.springframework.stereotype.Repository;

//前台用户
@Repository
public interface UserService {

    //根据手机号查询
    User findByPhone(String phone);

    //保存用户
    void save(User user);

}
